<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.ccut.edu.cn/saturn" prefix="saturn"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>templete jsp</title><%@ include
	file="/jsp/include/header/meta.jsp"%><%@ include
	file="/jsp/include/header/javascript.jsp"%><%@ include
	file="/jsp/include/header/stylesheettag.jsp"%></head>
<body>

<saturn:table id="dataItemList" value="${dataItemList}" 
			item="var" isPagepilot="false" >
			<saturn:tableColumn title="名称">
					   <saturn:out value="${var.name}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="列名">
						<saturn:out value="${var.column}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="别名">
						<saturn:out value="${var.columnAlias}"/>
			</saturn:tableColumn>
	        <saturn:tableColumn title="JAVA类型">
						<saturn:out value="${var.javaType}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="操作">
						<a href="javascript:getValidates('${fullKey}','${var.name}')">验证</a>
			</saturn:tableColumn>
		</saturn:table>
<script type="text/javascript">
    function getValidates(fullKey,saturnItemName) {
        location = "<%=request.getContextPath()%>/edu.ccut.saturn.manager.bundles.impl::/componentModule/tdValidateAction/GetDataItemValidate.action?fullKey="+fullKey+"&saturnItemName="+saturnItemName;
    }
</script>
</body>
</html>